package com.crdeng.business.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.crdeng.business.entity.OutStockInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crdeng.business.vo.InStockItemVO;
import com.crdeng.business.vo.OutStockItemVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author crdeng
 * @since 2021-02-11
 */
@Repository
public interface OutStockInfoMapper extends BaseMapper<OutStockInfo> {

    List<String> getPNumList(String outNum);

    IPage<OutStockItemVO> getOutStocks(IPage<OutStockItemVO> page, @Param(Constants.WRAPPER) Wrapper<OutStockItemVO> queryWrapper);


}
